<template>
  <div>11</div>
</template>

<script lang="ts">
import { defineComponent, onMounted, reactive } from "vue";
import { useStore } from "vuex";
import axios from 'axios';

export default defineComponent({
  setup() {
    const store = useStore();
    let data = reactive({
      count: store.state.user.num,
    });
    console.log("222", import.meta.env.VITE_APP_PORT)

    onMounted(()=>{
      axios.get("/api/columns?currentPage=1&pageSize=5").then(res=>{
        console.log("res", res)
      }).catch(err=>{
        console.log("err", err)
      })
    })

    return {
      data,
    };
  },
});
</script>

<style scoped lang="scss">
</style>